package com.strato.rule.core.v1_0_0.xstream;

import com.strato.annotation.osgi.v1_0_0.service.OsgiService;
import com.strato.rule.core.v1_0_0.execution.RuleItem;
import com.strato.rule.core.v1_0_0.execution.RuleSet;
import com.strato.serializer.xstream.v1_0_0.XStreamExtraProcessor;
import com.thoughtworks.xstream.XStream;

@OsgiService
public class RuleSetXStreamExtraProcessor implements XStreamExtraProcessor {

	@Override
	public void process(XStream xstream) {
		xstream.alias("rs", RuleSet.class);
		xstream.alias("ri", RuleItem.class);
	}

}
